Skip to content

Conversation

@SenecaIO
Copy link

@SenecaIO SenecaIO commented Nov 19, 2025

Summary

  • Adds cross-dimensional multiblock linking API for machine-to-machine communication
  • Implements Moth Cargo system for item/fluid transport between linked stations
  • Adds Diving Bell for player teleportation to The Deep Below

Cross-Dimensional Linking API

Infrastructure for linking multiblocks together, even across dimensions.

Usage:

  • Extend LinkedWorkableElectricMultiblockMachine (or LinkedWorkableMultiblockMachine for non-electric)
  • Override getLinkRole() to set PEER/CONTROLLER/REMOTE
  • Players link machines with datastick (shift+click to copy, click to link)

Features:

  • Automatic chunk loading for cross-dimensional queries
  • Partner state queries (formed, working, items, fluids, energy)
  • Recipe conditions: LinkedPartnerCondition, LinkedPartnerDimensionCondition, LinkedPartnerDimensionItemCondition, LinkedPartnerDimensionFluidCondition
  • Role negotiation (PEER↔PEER, CONTROLLER↔REMOTE)
  • Ownership validation via FTB Teams

Key Files:

  • api/capability/ILinkedMultiblock.java
  • api/machine/multiblock/LinkedWorkableElectricMultiblockMachine.java
  • common/machine/multiblock/LinkedMultiblockHelper.java
  • docs/CROSS_DIMENSIONAL_LINKING.md

Moth Cargo System

Item/fluid transport using Forestry beehives as "moth homes."

  • Moth Cargo Station: Sender - pulls from input buses, ships to linked drop-offs
  • Moth Cargo Drop Off: Receiver - outputs to connected inventories

Features:

  • Distribution modes: Direct, Fill First, Round Robin (screwdriver to cycle)
  • Tiered beehives control cycle speed and capacity
  • Same-dimension only
  • No power required

Diving Bell

Player teleporter to frontiers:the_deep_below.

  • Stand on controller → teleports player down (500k EU)
  • Auto-generates landing platform with Escape Pad
  • Right-click Escape Pad → returns to origin
  • Stores return data on player capability

TODO:

  • Structure needs work - placeholder box currently, needs more space around teleporter pad
  • Textures needed for diving bell controller and escape pad
  • Consider adding a consumable instead of/in addition to energy cost
  • Teleport transition sound/visual effects

Test Plan

  • Link two machines same dimension, verify datastick workflow
  • Link two machines cross-dimension, verify chunk loading
  • Test recipe conditions (partner required, dimension required)
  • Moth Cargo: verify item/fluid transfer in all distribution modes
  • Diving Bell: teleport down and back, verify origin restore

The whole dang thing.
@SenecaIO SenecaIO marked this pull request as draft November 19, 2025 00:28
SenecaIO and others added 4 commits November 18, 2025 18:36
Resolved conflicts:
- CosmicPredicates.java: kept both mothHomes() and stellarModuleSlot()
- MultiblockInit.java: added all inits (DivingBell, LinkTestStation, StarLadder)
- CosmicLangHandler.java: kept linking translations and all new main translations

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants